/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

 /* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #3e2693;
  --ifm-color-primary-dark: #372284;
  --ifm-color-primary-darker: #2c196e;
  --ifm-color-primary-darkest: #211158;
  --ifm-color-primary-light: #3e2693;
  --ifm-color-primary-lighter: #5a3cc2;
  --ifm-color-primary-lightest: #6747d9;
  --ifm-code-font-size: 90%;
  --ifm-menu-color: black;
  --ifm-menu-color-background-active: #9BF316;
  --ifm-menu-color-background-hover: #6747d955;
  --ifm-menu-color-active: black;
  --ifm-navbar-background-color: #0d0235;
  --ifm-navbar-link-color: #FFFFFF;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
  --code-background-color: rgba(62,38,147,.1);
  --code-font-color: #252525;
  --selection-font-color: #0f023b;
  --selection-background: #9BF316;
  --sidebar-selected: #6747d955;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #9bf316;
  --ifm-color-primary-dark: #8cdb14;
  --ifm-color-primary-darker: #80c814;
  --ifm-color-primary-darkest: #70b409;
  --ifm-color-primary-light: #9bf316;
  --ifm-color-primary-lighter: #9af90a;
  --ifm-color-primary-lightest: #99ff00;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
  --code-background-color: rgba(76, 55, 123, 0.53);
  --code-font-color: rgb(205, 180, 247);
  --selection-color: #0f023b;
}

@media (min-width: 1416px) {
  .main-wrapper {
    align-self: center;
    max-width: 1400px;
    width: 1400px;
  }
}

.navbar .navbar__inner {
  margin: 0 auto;
  max-width: 1360px;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
}

.footer--dark {
  --ifm-footer-background-color: #0d0235;
}

[data-theme='dark']
#__docusaurus {
  background: linear-gradient(180deg, rgba(20,12,66,1) 0%, rgba(35,16,105,1) 100%);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ifm-heading-color);
  font-family: 'Poppins', sans-serif;
  line-height: var(--ifm-heading-line-height);
  margin: var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0;
}

p {
  font-family: 'Poppins', Consolas, 'Courier New', monospace;
  font-weight: 400;
}

html {
  font-family: 'Poppins', Consolas, 'Courier New', monospace;
  font-weight: 400;
  letter-spacing: 1;
}

.navbar {
    color: #FFFFFF;
}

.menu__link {
  font-weight: 600;
}

[data-theme='dark']
.menu__link:not(.menu__link--active) {
  color: #FFFFFF;
}
[data-theme='dark']
.menu__link--sublist.menu__link--active {
  color: white;
}
.menu__list-item-collapsible--active {
  background-color: var(--selection-background);
}
[data-theme='dark']
.menu__list-item-collapsible--active > .menu__link--active {
  color: black;
}

code {
  vertical-align: middle;
  word-wrap: break-word;
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  font-weight: 800;
  white-space: break-spaces;
  background-color: #f2f2f2;
  color2: rgb(167, 130, 217);
  color: var(--code-font-color);
  border-radius: 6px;
  border-width: 0px;
  border-color: var(--code-background-color);
  background-color2: rgba(76, 55, 123, 0.53);
  background-color: var(--code-background-color);
}

[data-theme='dark']
pre {
  background-color: #0b0031;
}

[data-theme='dark']
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ifm-heading-color);
}

[data-theme='dark']
.docSidebarContainer_node_modules-\@docusaurus-theme-classic-lib-theme-DocPage-Layout-Sidebar-styles-module {
    border-right: 1px solid #9bf316;
}
[data-theme='dark']
.table-of-contents__left-border {
    border-left: 1px solid #9bf316;
}

a code {
    color: var(--code-font-color);
}
::-moz-selection { /* Code for Firefox */
  color: var(--selection-font-color);
  background: var(--selection-background);
}

::selection {
  color: var(--selection-font-color);
  background: var(--selection-background);
}

.navbar__link:hover, .navbar__link--active {
  text-decoration: none;
  color: var(--selection-background);
}

.navbar__link {
  color: var(--ifm-navbar-link-color);
  font-weight: var(--ifm-font-weight-semibold);
}

.navbar__title {
  color: var(--selection-background);
  letter-spacing: 7px;
  font-weight: bolder;
  font-size: 14pt;
  margin-left: 15px;
}

/* hide the clipboard copy button on code blocks of type "buttonless" */
.language-buttonless div > button {
  display: none;
}

.header-github-link:hover {
  opacity: 0.6;
}
.header-github-link::before {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgb(60, 74, 94)' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
  no-repeat;
  content: "";
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
}

.header-discourse-link:hover {
  opacity: 0.6;
}
.header-discourse-link::before {
  background: url('/img/discourse_icon.svg') no-repeat;
  content: "";
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
}
[data-theme="dark"] .header-discourse-link::before {
  background: url('/img/discourse_icon.svg') no-repeat;
  content: "";
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
}

/* getting started cards */

:root {
  --contrasting-background: #c4b7f5;
  --container-border: 1px solid #adadad; /* Light gray border */
  --button-background-hover: #9c84f9;
}

[data-theme="dark"] {
  --contrasting-background: #4b359f;
  --container-border: 1px solid #6d6d6d; /* Light gray border */
  --button-background-hover: #251463;
}

.getting-started-cards .card {
  background-color: var(--sidebar-selected);
}

.getting-started-cards .button {
  background-color: var(--contrasting-background);
  border: 1px var(--container-border);
  color: var(--ifm-link-color);
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.getting-started-cards .button:hover {
    background-color: var(--button-background-hover);
    outline: none; /* Removes the outline on focus for a clean look */
}

.getting-started-cards a:hover {
    text-decoration: none; /* Removes the underline from links */
}
